<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <title></title>
    <script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/require.min.js"></script>
	<script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/loader.js"></script>
    <script type="text/javascript" src="/js/require.config.js"></script>
    <script type="text/javascript">
    require(["core"], function() {
        //核心组件加载完成，组件渲染完成，加载页面应用逻辑
        require(["./js/pages/sign_in"], function() {
            window.removeLoader();
        });
    });
    </script>
</head>

<body>
    <div id="jSouperApp" style="display:none" class="_pc">
        {{#include "pages/default/top.html"}}
        <div class="signblock"></div>
        <div class="sign_in_box {{isUp&&'focus'||'close'}}">
            <div class="signtitle">Dotnar</div>
            <div class="wel">欢迎注册dotnar新账户</div>
            <div class="item">
                <div class="itemtitle">用户名：</div>
                <input type="text" name="name" value="{{$Cache.sign_up.name}}" bind-input="{{'$Cache.sign_up.name'}}" maxlength="25">
            </div>
            <div class="item">
                <div class="itemtitle">手机号：</div>
                <input type="text" name="mobile_phone" value="{{$Cache.sign_up.mobile_phone}}" bind-input="{{'$Cache.sign_up.mobile_phone'}}" event-change="{{'$Event.sign_up.checkedMobilePhone'}}" maxlength="11">
            </div>
            <div class="item">
                <div class="itemtitle">邮箱：</div>
                <input type="text" name="email" value="{{$Cache.sign_up.email}}" bind-input="{{'$Cache.sign_up.email'}}" event-change="{{'$Event.sign_up.checkedEmail'}}" maxlength="25">
            </div>
            <div class="item">
                <div class="itemtitle">密码：</div>
                <input maxlength="16" type="password" name="password" value="{{$Cache.sign_up.password}}" bind-input="{{'$Cache.sign_up.password'}}" />
            </div>
            <div class="item">
                <div class="itemtitle">重复密码：</div>
                <input maxlength="16" type="password" name="confirm_password" value="{{$Cache.sign_up.confirm_password}}" bind-input="{{'$Cache.sign_up.confirm_password'}}" />
            </div>
            <div class="item">
                <input class="getcode" type="text" maxlength="6" name="phone_code" value="{{$Cache.sign_up.phone_code}}" bind-input="{{'$Cache.sign_up.phone_code'}}" />{{#if !$Cache.sign_up.wite_server}}
                <a event-click="{{'$Event.sign_up.get_register_code'}}">获取手机验证码</a>
                {{#else}}
                <a>{{$Cache.sign_up.next_phone_code_time&&$Cache.sign_up.next_phone_code_time+"秒后重新获取验证码"||"等待服务器响应"}}</a>
                {{/if}}
            </div>
            <div class="item">
                <button event-click="{{'$Event.sign_up.register'}}">注册</button>
            </div>
            <div class="item"><a href="rules.html" target="_blank">《Dotnar用户协议》</a><a class="border" event-click="{{'$Event.ChangeSign'}}">已有账号，点此登录</a>
            </div>

        </div>



        <div class="sign_in_box {{isUp&&'close'||'focus'}}">
            <div class="signtitle">Dotnar</div>
            <div class="wel">欢迎使用dotnar微站</div>
            <div class="item">
                <div class="itemtitle">{{isBusLogin&&'商家名'||'用户名'}}：</div>
                <input maxlength="25" type="text" name="name" value="{{$Cache.sign_in.name}}" bind-input="{{'$Cache.sign_in.name'}}" event-enter="{{'$Event.sign_in.to_password_input'}}" />
            </div>
            <div class="item">
                <div class="itemtitle">密码：</div>
                <input maxlength="16" type="password" name="password" value="{{$Cache.sign_in.password}}" bind-input="{{'$Cache.sign_in.password'}}" ele-focus="{{$Cache.sign_in.is_focus}}" event-enter="{{'$Event.sign_in.common_login'}}" />
            </div>
            <div class="item">
                <button event-click="{{'$Event.sign_in.common_login'}}">登录</button>
            </div>
            <div class="item">
                <span event-click="{{'$Event.changloginType'}}">{{isBusLogin&&'买家登录'||'商家登录'}}</span><a class="border" event-click="{{'$Event.ChangeSign'}}">注册一个新的账号</a>
                <a class="border" event-click="{{'$Event.findpaw'}}">密码找回</a>
            </div>

            <!-- <div class="form">

                

                <div class="sign_up_form">
                    <div class="title">
                        填写Dotnar账户资料
                    </div>
                    <div class="item">
                        <div class="btitle">用户名:</div>
                        <input type="text" name="name" value="{{$Cache.sign_up.name}}" bind-input="{{'$Cache.sign_up.name'}}" maxlength="25">
                    </div>
                    <div class="item">
                        <div class="btitle">手机号码:</div>
                        <input type="text" name="mobile_phone" value="{{$Cache.sign_up.mobile_phone}}" bind-input="{{'$Cache.sign_up.mobile_phone'}}" maxlength="11">
                    </div>


                    <div class="item">
                        <div class="btitle">邮箱:</div>
                        <input type="text" name="email" value="{{$Cache.sign_up.email}}" bind-input="{{'$Cache.sign_up.email'}}" maxlength="25">
                    </div>

                    <div class="item">
                        <div class="btitle">密码:</div>
                        <input maxlength="16" type="password" name="password" value="{{$Cache.sign_up.password}}" bind-input="{{'$Cache.sign_up.password'}}" />
                    </div>
                    <div class="item">
                        <div class="btitle">再次输入:</div>
                        <input maxlength="16" type="password" name="confirm_password" value="{{$Cache.sign_up.confirm_password}}" bind-input="{{'$Cache.sign_up.confirm_password'}}" />
                    </div>
                    <div class="item">
                        <input class="getcode" type="text" maxlength="6" name="phone_code" value="{{$Cache.sign_up.phone_code}}" bind-input="{{'$Cache.sign_up.phone_code'}}" />{{#if !$Cache.sign_up.wite_server}}
                        <button event-click="{{'$Event.sign_up.get_register_code'}}">获取手机验证码</button>
                        {{#else}}
                        <button style="box-shadow: none; color: #333;" disabled="true" event-click="{{'$Event.sign_in.to_sign_up'}}" style="margin-left:15px;">{{$Cache.sign_up.next_phone_code_time&&$Cache.sign_up.next_phone_code_time+"秒后重新获取验证码"||"等待服务器响应"}}</button>
                        {{/if}}
                    </div>
                    <div class="rule">
                        <i event-click="{{'$Event.ApplyRule'}}" class="{{isApplyRules&&'icon-checkbox-checked'||'icon-checkbox-partial'}}"></i>请点击左方以接受《<a href="rules.html" target="_blank">Dotnar用户注册协议</a>》
                    </div>
                    <button event-click="{{'$Event.sign_up.register'}}">注册</button>
                    <button event-click="{{'$Event.sign_in.to_sign_up'}}" style="margin-left:15px;">切换到登陆</button>
                </div>
            </div> -->

        </div>
        {{#include './pages/default/bottom.html'}}
    </div>
</body>

</html>
